package com.heima.common.constants;


/**
 * @author yht
 * @date 2022/1/15 9:57
 */
public class BehaviorConstants {


    //=======用户行为=======
    //点赞类型
    public static final Short BEHAVIOR_LIKE_TYPE = 1;
    //文章点赞
    public static final Short BEHAVIOR_LIKE_ARTICLE = 0;
    //动态点赞
    public static final Short BEHAVIOR_LIKE_DYNAMIC = 1;
    //评论点赞
    public static final Short BEHAVIOR_LIKE_COMMENT= 2;

    //喜欢类型
    public static final Short BEHAVIOR_LOVE_TYPE = 2;

    //选中
    public static final Short BEHAVIOR_CANCEL = 0;
    //取消
    public static final Short BEHAVIOR_CHOOSE = 1;

    //==================redis====================
    //redis中的不喜欢大key前缀
    public final static String REDIS_UNLIKE_KEY="UNLOVE_";
    //redis中阅读的大Key前缀
    public final static String REDIS_READ_KEY="READ_";
    //redis中的用户id前缀
    public final static String REDIS_USER_KEY="USER_";
    //用户阅读的数量
    public final static String REDIS_READ_USERCOUNT_KEY="COUNT_";
    //阅读的总数
    public final static String REDIS_READ_AllCOUNT_KEY="All_COUNT";










}
